package io.renren.modules.alarm.dao;

import com.baomidou.mybatisplus.core.metadata.IPage;
import io.renren.modules.alarm.entity.AirQualityDataEntity;
import io.renren.modules.alarm.entity.AlarmListEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Map;

/**
 * 报警列表
 */
@Mapper
public interface AlarmListDao {

    void add(AlarmListEntity alarmList);

    IPage<AlarmListEntity> getList(IPage<AlarmListEntity> query, @Param("params") Map<String, Object> params);

    AlarmListEntity get(Integer id);

    AirQualityDataEntity integratedSignage(String spaceName);

    String getAlarmValueList(String id);


}
